<html>  
            <head>     
            <title>Авторизация</title>     
			<meta http-equiv="content-type" content="text/html; charset=utf-8" />
            </head>     
            <body>
			<style>
				img{
					border: 0;
				}
				a {
					color: #666;
				}
				#logo {
					margin: 15px 0 0 15px;
				}
				html, body {
				background: #fff;
				font-family:  Arial, Helvetica, sans-serif;
				font-size: 12px;
				}
				fieldset {
					border: 0;
					padding: 15px;
					margin: 15px 15px 15px 30px;
				}
				fieldset legend {
					font-size: 18px;
				}
				dt {
					padding: 5px 0;
				}
			</style>
			<div align="center">
            <fieldset><h2>Авторизация</h2>
            <?/* echo form_open('login');*/?>
			<form action="<?=site_url();?><?=$loginurl;?>" method="post">
            <dt><?php echo form_label('Логин', 'login');?></dt>
			<dd><?=form_input('login','','id=login');?></dd>
            <dt><?php echo form_label('Пароль', 'password');?></dt>
			<dd><?=form_password('password','','id=password');?></dd>
			<dt></dt>
			<dd>
				<?php echo form_submit('go','Войти');?>
			</dd>
            <? echo form_close(); ?>     
			<?=anchor('http://'.$_SERVER['HTTP_HOST'].'/', 'Перейти на сайт'); ?>
			</fieldset>
			</div>
            </body>     
</html>    